package com.distribute.order.service;

import java.util.List;

import com.distribute.common.pojo.DistributeResult;
import com.distribute.pojo.Order;
import com.distribute.pojo.DbOrder;
import com.distribute.pojo.DbOrderItem;

public interface OrderService {

	DistributeResult createOrder(DbOrder order, DbOrderItem itemList);
	Order getOrderById(long orderId);
	DistributeResult getOrderByUserId(long userId,Integer page,Integer rows);
}
